package String;

import java.util.Objects;

public class hash {
     String name;

     public boolean equals(Object o) {
          if (this == o) return true;
          if (o == null || getClass() != o.getClass()) return false;
          hash hash = (hash) o;
          return Objects.equals(name, hash.name);
     }

     public int hashCode() {
          return Objects.hash(name);
     }
}
